<template>
<div class="newGoodsList">
    <h4>周一周四·新品首发</h4>
    <ul>
        <li v-for="item in newGoodsListArr" :key="item.id">
            <img :src="item.list_pic_url" alt="">
            <p>{{item.name}}</p>
            <span>{{item.retail_price|formatMoney}}</span>
        </li>
    </ul>
</div>
</template>

<script>
export default {
name: 'NewGoodsList',
data() {
return {

}
},
props:['newGoodsListArr'],
components: {

},
methods: {

},
created() {

},
}
</script>

<style lang='less' scoped>
.newGoodsList{
    font-size: 16px;
    text-align: center;
    h4{
        text-align: center;
        height: 50px;
        line-height: 50px;
        color: #000;
        font-size: 22px;
    }
    ul{
        display: flex;
        justify-content: space-around;
        flex-wrap:wrap ;
        li{
            width: 49%;
            img{
                display: block;
                width: 100%;
            }
            span{
                display: block;
                height: 25px;
                line-height: 25px;
                color: rgb(155, 9, 9);
            }
            p{
                height: 25px;
                line-height: 25px;
            }
        }
    }
}
</style>